import _http from '@/utils/http'

export default {
    accountList(params, loading, headers) {
        return _http('post', {
            url: '/ums/manage/shop/tuijianuser/search',
            apiName: '推荐人列表',
        }, params, loading, headers)
    },
    accountAdd(params, loading, headers) {
        return _http('post', {
            url: '/ums/manage/shop/tuijianuser/add',
            apiName: '推荐人新增',
        }, params, loading, headers)
    },
    accountModify(params, loading, headers) {
        return _http('post', {
            url: '/ums/manage/shop/tuijianuser/modify',
            apiName: '推荐人编辑',
        }, params, loading, headers)
    },
    accountRemove(params, loading, headers) {
        return _http('post', {
            url: '/ums/manage/shop/tuijianuser/delete',
            apiName: '推荐人删除',
        }, params, loading, headers)
    },
}
